home *** CD-ROM | disk | FTP | other *** search
/ Aminet 45 / Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso / Aminet / game / role / ldmud-3.2-bin.lha / mud / doc / efun / set_prompt < prev    next >
Text File  |  2000-07-07  |  460b  |  14 lines

  1. SYNOPSIS
  2.         string set_prompt(mixed prompt, object ob)
  3.  
  4. DESCRIPTION
  5.         Set the prompt given by the first argument for the interactive
  6.         object instead of the default ``> ''. If the second argument
  7.         is omitted, this_player() is used as default. The first arg
  8.         can be a string or a closure.
  9.  
  10.         The result returned is the old prompt.
  11.  
  12.         If the first arg is the number 0, the prompt is not changed,
  13.         just returned.
  14.